<?php
	namespace Home\Controller;
	use Think\Controller;	
class BaseController extends Controller {
    
	protected function alertAndRedirect($url,$params=array(),$delay=0,$msg='') {
        $url=U($url,$params);
        
        redirect($url,$delay,$msg);
    }
}